package com.demo.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.entity.DoctorMedicine;

import java.util.List;

/**
 * 医嘱药物表 Mapper 接口
 * @author zm
 * @since 2021-03-26
 */
public interface DoctorMedicineMapper extends BaseMapper<DoctorMedicine> {

    /**
     * 通过医嘱ID，获取该医嘱所有药物
     * @param id
     * @return
     */
    List<DoctorMedicine> getAllDoctorMedicineById(Integer id);

}
